<html>
<head>
<title>Home</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div align="left"> </div>
<table width="1158" border="0" cellpadding="0" cellspacing="0" bgcolor="#6699FF">
  <tr> 
    <td width="258" valign="top" rowspan="2"><img src="/Images/libros2.jpg" width="92" height="138"><font size="7" color="#FFFFFF">Librejo!</font></td>
    <td width="577" height="130"></td>
    <td width="252"></td>
    <td width="16"></td>
    <td width="55"></td>
  </tr>
  <tr> 
    <td height="21"></td>
    <td valign="top">Welcome: </td>
    <td>
    	<?php
    	$serverpath=$_SERVER['DOCUMENT_ROOT'];
    	include ($serverpath.'/Classes/session.php');
    	include ($serverpath.'/Classes/Client.php');
    	$serial_session = file_get_contents('store_session');
    	$session = unserialize($serial_session);
    	$session_id = $session->get_id();
		$client = new Client($session_id);
		$user = $session->get_user();
		echo $user;
		$serialize_client = serialize($client);
		file_put_contents('store_client',$serialize_client);
    	?>
    </td>
    <td valign="top"><a href="index.html">Logout</a></td>
  </tr>
</table>
<br>
<br>
<table width="1158" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="237" height="8"></td>
    <td width="49"></td>
    <td width="54"></td>
    <td width="116"></td>
    <td width="49"></td>
    <td width="520"></td>
    <td width="133"></td>
  </tr>
  <tr>
    <td height="45"></td>
    <td></td>
    <td></td>
    <td colspan="3" valign="top">tabla con las secciones</td>
    <td></td>
  </tr>
  <tr>
    <td height="10"></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr> 
    <td valign="top" rowspan="4"> 
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#6699FF">
        <tr> 
          <td width="238" height="32"></td>
        </tr>
        <tr> 
          <td valign="top" height="41" bgcolor="#CCFF66"> 
            <div align="center"><font color="#999900"><b><font size="4" color="#3333FF"><a href="profile.php">My 
              Profile</a></font></b></font></div>
          </td>
        </tr>
        <tr> 
          <td height="16"></td>
        </tr>
        <tr> 
          <td height="41" valign="top" bgcolor="#CCFF66"> 
            <div align="center"><font size="4"><b><font color="#3333FF">My Cart</font></b></font></div>
          </td>
        </tr>
        <tr> 
          <td height="15"></td>
        </tr>
        <tr> 
          <td height="41" valign="top" bgcolor="#CCFF66"> 
            <div align="center"><font size="4" color="#3333FF"><b>My Agenda</b></font></div>
          </td>
        </tr>
        <tr> 
          <td height="15"></td>
        </tr>
        <tr> 
          <td height="41" valign="top" bgcolor="#CCFF66"> 
            <div align="center"><font size="4" color="#3333FF"><a href="buybooks.php"><b>BUY</b></a></font></div>
          </td>
        </tr>
        <tr> 
          <td height="32"></td>
        </tr>
      </table>
    </td>
    <td height="19"></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr> 
    <td height="24"></td>
    <td colspan="2" valign="top"> 
      <h3>Book of the Month</h3>
    </td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr> 
    <td height="40"></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr> 
    <td height="135"></td>
    <td colspan="2" rowspan="3" valign="top"><img src="Images/brocode.jpg" width="170" height="255"></td>
    <td></td>
    <td rowspan="3" valign="top">
      <p>Everyone's life is governed by an internal code of conduct. Some call 
        it morality. Others call it religion. But Bros in the know call this holy 
        grail the Bro Code.<br>
        Historically a spoken tradition passed from one generation to the next, 
        the official code of conduct for Bros appears here in its published form 
        for the first time ever. By upholding the tenets of this sacred and legendary 
        document, any dude can learn to achieve Bro-dom.</p>
      <p><i><font size="2">About the Author<br>
        Barney Stinson works at a corporation, and regularly ?suits up? to help 
        his lovelorn and altogether pathetic bro Ted Mosby. Basically the coolest 
        dude ever, Barney Stinson has been compared to the Fonz&#151;but Barney 
        is much, much more awesome. Stinson lives in New York, New York&#151;and 
        appears weekly on the hit CBS show ?How I Met Your Mother? with his friends 
        Ted, Robin, Lily and Marshall. </font></i></p>
      </td>
    <td></td>
  </tr>
  <tr> 
    <td height="40"></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr> 
    <td rowspan="2" valign="top" bgcolor="#6699FF"> 
      <div align="center"><b>Your Benefits!</b></div>
    </td>
    <td height="80"></td>
    <td></td>
    <td></td>
  </tr>
  <tr> 
    <td height="47"></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
</table>
</body>
</html>